package com.gimi.cloud.bbp.app.consumer.controller.alipay;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.gimi.cloud.bbp.app.consumer.service.alipay.AliPayNotifyService;

/**
 * 支付宝异步通知接口
 * @author 李林峰
 * @version 1.0
 * @Description
 * @create 2018年2月2日
 */
@RestController
public class AliPayNotifyController {
	@Autowired AliPayNotifyService aliPayNotifyService;
	
	/**
	 * 支付宝异步通知接口
	 */
	@RequestMapping("/aliPayNotify")
	private String alipayNotify(HttpServletRequest request) {
		return aliPayNotifyService.alipayNotify(request);
	}
}